<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2017/8/17
 * Time: 16:18
 */

namespace app\content\validate;

use think\Validate;

class content extends Validate
{
    protected $rule = [
        'name' => 'require|max:24',
        'email' => 'email'
    ];
}